package com.findme.fecedetection

/**
 * Created by dab on 2017/9/27 0027 16:05
 */

object Const {
    object Api {
        const val BASE_URL = "http://111.230.241.155:8080/"
    }


    object Accounts {
        //阿里云
        val OSS_AK = "LTAI9j1ITWhvjRgP"
        val OSS_AKS = "OBlJyWJbgdmCg9ukUtR7znxv9ZAbkK"
        val OSS_END_POINT = "http://oss-cn-beijing.aliyuncs.com"
        val BUCKET_NAME = "mingdi"
    }

    object IntentCode {
        //Intent传值
        val PHONE = "phone"

    }

    object DEBUG {
        //所有的日志
        val All = BuildConfig.DEBUG
        //响应的日志
        const val RESPONSE = true
        //请求的日志
        const val REQUEST = true

    }

    object Type {
        //RequestCode
        val FBLX="FBLX"
        val CWYS="CWYS"
        val CWDX="CWDX"
        val CWXB="CWXB"
    }
    object RequestCode {
        //RequestCode
        val LOGE = 0x0001
    }

    object Error {
        val REQUEST_ERROR = "请求出错！"
        val PARSER_ERROR = "数据解析出错！"
        val NET_ERROR = "网络异常，请检查您的网络状态！"
        val SERVER_ERROR = "服务器异常，请稍后重试！"
    }
}
